
<%--
 *  File:    NotesAll.jsp
 *  @Author: beliveli
 *  Date:    2012/05/03
 *
 *  Copyright (C) 2000 - 2001 Oval Technologies, Inc.
 *  All rights reserved.
 *
 *  This software is the confidential and proprietary information of Oval
 *  Technologies, Inc. ("Confidential Information").  You shall not
 *  disclose such Confidential Information and shall use it only in
 *  accordance with the terms of the license agreement you entered into
 *  with Oval.
--%>


<%@ include file="/inc/SessionTimeout.inc"%>
<%@ page language="java" %>
<%@ page import="java.util.*" %>
<%@ page import="org.apache.log4j.Category" %>

<%@ page contentType = "text/html;charset=UTF-8" %>
<%@ taglib uri="/WEB-INF/PageFlow.tld" prefix="PageFlow" %>
<%@ taglib uri="/WEB-INF/struts-logic.tld" prefix="logic" %>
<%@ taglib uri="/WEB-INF/oval-tag.tld" prefix="oval" %>

<% //--------------------------------------  setting logger --%>
<%

String strModuleName = "BIEE";
String privilegeCode = "Z0402,L301";
String contextPath = request.getContextPath();
%>
<%@ include file="/inc/PageDefault.inc" %>
<%@ include file="/inc/InitEdit.inc" %>

<html>
<head>
<PageFlow:CheckPageFlow pageName="maincontent" />
<title>全部公告</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<script language="JavaScript" src="<%=contextPath%>/js/FuncLib.js"></script>
<style>
span.title_a_l{
height:29px;
float:left;
padding-left:10px;
line-height:29px;
padding-left:10px;
font-weight:bold;
font-size:12px;}
</style>
<script type="text/javascript">
function view_notes(id)
{
  var viewurl = "<%=contextPath%>/biee/NotesFrmPop.jsp?<%= OvalTools.randomURL() %>&languagecode=<%= strLanguageCode %>&notesid=" + id;
  popup(viewurl,'newwindow','height=400,width=600,top=100,left=100,toolbar=no,menubar=no,scrollbars=yes,resizable=no,location=no,status=no');
}
</script>
</head>
<body>

<table cellspacing="0" align="center" style = "border:#c6ebfd 1px solid;style:670px;">
	<tr>
		<td colspan="4"><div style = "background:url(<%=contextPath%>/images/cn/newstyle/tit1.jpg) no-repeat;HEIGHT:25px;"><span class="title_a_l">最新公告</span></div></td>
	</tr>
	<tr> 
		<%
			Vector v_GrowthInNovas = (Vector)pageContext.getAttribute("notes");
			if(v_GrowthInNovas == null)
			{
				v_GrowthInNovas = new Vector();
			}
			int length = v_GrowthInNovas.size();
			for(int i = 0; i < length; i++)
			{
				HashMap a_GrowthInNovas = (HashMap)v_GrowthInNovas.elementAt(i);
				if(a_GrowthInNovas != null)
				{
		%>          
		<td width="1%" height="20" style="border-right:none;">&nbsp;</td>
		<td width="8%" align="center" style="padding-left:5px;"><%if(i<9){%>0<%}%><%= i+1 %><%= "." %></td>
		<td width="62%" style="padding-left:5px;font-size:14px;"><a href="javascript:view_notes('<%= a_GrowthInNovas.get("notesid") %>')"><%= (String)a_GrowthInNovas.get("title") %></a>&nbsp;<%if("Y".equals(a_GrowthInNovas.get("hasattachment"))){ %><%=label.getLabelName("L_HasAttachment")%><%} %></td>
		<td width="26%" style="padding-left:5px;color:#CCCCCC;"><%= a_GrowthInNovas.get("datelastupdated") %></td>
	</tr>
		<%      
			    } //endif
			} //endfor
		%>
    <tr> 
        <td colspan="4" height="1"></td>
    </tr>
</table>
</body>
</html>



